package com.start.secure.encrypt;

/**
 * 
 * @author yangbingyan
 *
 */
public interface EncryptBase {

	/**
	 * 
	 * @param data
	 * @param key
	 * @return
	 */
	public boolean decode(XData data, XKey key);
	
	/**
	 * 
	 * @param data
	 * @param key
	 * @return
	 */
	public boolean encode(XData data, XKey key);
	
}
